package com.huawei.statistics.pojo.report;



import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * Created by Yinwx on 2019/7/18.
 *
 * 省份
 */

//根元素
@XmlRootElement(name = "Province")
//访问类型，通过字段
@XmlAccessorType(XmlAccessType.FIELD)

public class Province {


    @XmlAttribute(name = "ID")
    private String id;

    @XmlAttribute(name = "ProvinceName")
    private String name;


    private List<City> cityList;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<City> getCityList() {
        return cityList;
    }

    public void setCityList(List<City> cityList) {
        this.cityList = cityList;
    }
}
